<%@ page language="java"
         contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"
         import="com.shxt.hotel.background.Room"
%>
<%
    request.setCharacterEncoding("UTF-8");
    int id = Integer.parseInt(request.getParameter("id"));
    
    Room room = new Room();
    int row = room.deleteCategory(id);
    
    response.sendRedirect("../room_category_overview.jsp");
%>